package com.decent.ejfadmin.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author
 * @date 2018/6/27
 */
@Slf4j
@RestController
@RequestMapping(value = "")
public class MvcController {
    @RequestMapping("login")
    public ModelAndView goToLogin() {
        ModelAndView modelAndView = new ModelAndView("login");
        return modelAndView;
    }

    @RequestMapping("index")
    public ModelAndView goToIndex() {
        ModelAndView modelAndView = new ModelAndView("index");
        return modelAndView;
    }

    @RequestMapping("order")
    public ModelAndView goToBuy() {
        ModelAndView modelAndView = new ModelAndView("order/order");
        return modelAndView;
    }

    @RequestMapping("virtualCodes")
    public ModelAndView goToVirtual() {
        ModelAndView modelAndView = new ModelAndView("order/virtualCodes");
        return modelAndView;
    }

    @RequestMapping("recycleCard")
    public ModelAndView goToRecycle() {
        ModelAndView modelAndView = new ModelAndView("order/recycleCard");
        return modelAndView;
    }

    @RequestMapping("numRecharge")
    public ModelAndView goToRecharge() {
        ModelAndView modelAndView = new ModelAndView("order/numRecharge");
        return modelAndView;
    }

    @RequestMapping("receiveNum")
    public ModelAndView goToReceive() {
        ModelAndView modelAndView = new ModelAndView("order/receiveNum");
        return modelAndView;
    }

    @RequestMapping("batch")
    public ModelAndView goToBatch() {
        ModelAndView modelAndView = new ModelAndView("order/batchList");
        return modelAndView;
    }

    @RequestMapping("userList")
    public ModelAndView goToUser() {
        ModelAndView modelAndView = new ModelAndView("memberManage/userList");
        return modelAndView;
    }

    @RequestMapping("userManage")
    public ModelAndView goToUserManage() {
        ModelAndView modelAndView = new ModelAndView("memberManage/userManage");
        return modelAndView;
    }

    @RequestMapping("registerBlackList")
    public ModelAndView goToRegisterBlackList() {
        ModelAndView modelAndView = new ModelAndView("memberManage/registerBlackList");
        return modelAndView;
    }

    @RequestMapping("ipAccountList")
    public ModelAndView goToIpAccountList() {
        ModelAndView modelAndView = new ModelAndView("memberManage/ipAccountList");
        return modelAndView;
    }

    @RequestMapping("userAnnouncement")
    public ModelAndView goToUserAnnouncement() {
        ModelAndView modelAndView = new ModelAndView("memberManage/userAnnouncement");
        return modelAndView;
    }

    @RequestMapping("writeAnnouncement")
    public ModelAndView goToWriteAnnouncement() {
        ModelAndView modelAndView = new ModelAndView("memberManage/writeAnnouncement");
        return modelAndView;
    }

    @RequestMapping("adminInterface")
    public ModelAndView goToAdminInterface() {
        ModelAndView modelAndView = new ModelAndView("memberManage/adminInterface");
        return modelAndView;
    }

    @RequestMapping("workLogInfo")
    public ModelAndView goToWorkLogInfo(Integer id) {
        ModelAndView modelAndView = new ModelAndView("memberManage/workLogInfo");
        modelAndView.addObject("id", id);
        return modelAndView;
    }

    @RequestMapping("productList")
    public ModelAndView goToProductList() {
        ModelAndView modelAndView = new ModelAndView("product/productList");
        return modelAndView;
    }

    @RequestMapping("priceList")
    public ModelAndView goToPriceList() {
        ModelAndView modelAndView = new ModelAndView("product/priceList");
        return modelAndView;
    }

    @RequestMapping("setModelPrice")
    public ModelAndView goToSetModelPrice() {
        ModelAndView modelAndView = new ModelAndView("product/setModelPrice");
        return modelAndView;
    }

    @RequestMapping("userPriceList")
    public ModelAndView goToUserPriceList() {
        ModelAndView modelAndView = new ModelAndView("product/userPriceList");
        return modelAndView;
    }

    @RequestMapping("setUserPrice")
    public ModelAndView goToSetUserPrice() {
        ModelAndView modelAndView = new ModelAndView("product/setUserPrice");
        return modelAndView;
    }

    @RequestMapping("workNumberPriceList")
    public ModelAndView goToWorkNumberPriceList() {
        ModelAndView modelAndView = new ModelAndView("product/workNumberPriceList");
        return modelAndView;
    }

    @RequestMapping("setWorkNumberPrice")
    public ModelAndView goToSetWorkNumberPrice() {
        ModelAndView modelAndView = new ModelAndView("product/setWorkNumberPrice");
        return modelAndView;
    }

    @RequestMapping("modelList")
    public ModelAndView goToModelList() {
        ModelAndView modelAndView = new ModelAndView("product/modelList");
        return modelAndView;
    }

    @RequestMapping("withdrawList")
    public ModelAndView goToWithdraw() {
        ModelAndView modelAndView = new ModelAndView("finance/withdrawList");
        return modelAndView;
    }

    @RequestMapping("areaReport")
    public ModelAndView goToAreaReport() {
        ModelAndView modelAndView = new ModelAndView("report/areaReport");
        return modelAndView;
    }

    @RequestMapping("operatorReport")
    public ModelAndView goToOperatorReport() {
        ModelAndView modelAndView = new ModelAndView("report/operatorReport");
        return modelAndView;
    }

    @RequestMapping("supplyCardReport")
    public ModelAndView goToSupplyCardReport() {
        ModelAndView modelAndView = new ModelAndView("report/supplyCardReport");
        return modelAndView;
    }

    @RequestMapping("userReport")
    public ModelAndView goToUserReport() {
        ModelAndView modelAndView = new ModelAndView("report/userReport");
        return modelAndView;
    }

    @RequestMapping("stockReport")
    public ModelAndView goToStockReport() {
        ModelAndView modelAndView = new ModelAndView("report/stockReport");
        return modelAndView;
    }

    @RequestMapping("dailyReport")
    public ModelAndView goToDailyReport() {
        ModelAndView modelAndView = new ModelAndView("report/dailyReport");
        return modelAndView;
    }

    /**
     * 闲鱼统计
     *
     * @return
     */
    @RequestMapping("xianyuReport")
    public ModelAndView goToxianyuReport() {
        ModelAndView modelAndView = new ModelAndView("report/xianyuReport");
        return modelAndView;
    }

    /**
     * 闲鱼用户订单统计
     *
     * @return
     */
    @RequestMapping("xianyUserOrderStatistics")
    public ModelAndView goToxianyUserOrderStatistics() {
        ModelAndView modelAndView = new ModelAndView("report/xianyUserOrderStatistics");
        return modelAndView;
    }

    /**
     * @return
     */
    @RequestMapping("announcementModel")
    public ModelAndView goToAnnouncementModel() {
        ModelAndView modelAndView = new ModelAndView("memberManage/announcementModel");
        return modelAndView;
    }

    @RequestMapping("supplyCardDetailList")
    public ModelAndView goToSupplyCardDetail() {
        ModelAndView modelAndView = new ModelAndView("finance/supplyCardDetailList");
        return modelAndView;
    }

    @RequestMapping("supplyCardBalanceList")
    public ModelAndView goToSupplyCardBalanceList() {
        ModelAndView modelAndView = new ModelAndView("finance/supplyCardBalanceList");
        return modelAndView;
    }

    @RequestMapping("userSupplyCardReport")
    public ModelAndView goToUserSupplyCardReport() {
        ModelAndView modelAndView = new ModelAndView("report/userSupplyCardReport");
        return modelAndView;
    }

    @RequestMapping("setProduct")
    public ModelAndView goToSetProduct() {
        ModelAndView modelAndView = new ModelAndView("product/setProduct");
        return modelAndView;
    }

    @RequestMapping("systemSetting")
    public ModelAndView goToSystemSetting() {
        ModelAndView modelAndView = new ModelAndView("system/systemSetting");
        return modelAndView;
    }

    @RequestMapping("userPm")
    public ModelAndView goToUserPm() {
        ModelAndView modelAndView = new ModelAndView("memberManage/userPm");
        return modelAndView;
    }

    @RequestMapping("userFeedback")
    public ModelAndView goToFeedback() {
        ModelAndView modelAndView = new ModelAndView("memberManage/userFeedback");
        return modelAndView;
    }

    @RequestMapping("userAddMoneyApply")
    public ModelAndView goToUserAddMoneyApply() {
        ModelAndView modelAndView = new ModelAndView("finance/userAddMoneyApply");
        return modelAndView;
    }

    @RequestMapping("dajiankong")
    public ModelAndView goToMonitor() {
        ModelAndView modelAndView = new ModelAndView("report/dajiankong");
        return modelAndView;
    }

    @RequestMapping("wopayMaintain")
    public ModelAndView goToWopayMaintain() {
        ModelAndView modelAndView = new ModelAndView("finance/wopayMaintain");
        return modelAndView;
    }

    /**
     * 跳转实名认证页面
     *
     * @return 返回页面视图
     */
    @RequestMapping("userCertificateList")
    public ModelAndView goToUserCertificateList() {
        ModelAndView modelAndView = new ModelAndView("memberManage/userCertificateList");
        return modelAndView;
    }

    /**
     * 跳转到提现银行卡页面
     *
     * @return 返回页面视图
     */
    @RequestMapping("userWithdrawBankList")
    public ModelAndView goToUserWithdrawBankList() {
        ModelAndView modelAndView = new ModelAndView("memberManage/userWithdrawBankList");
        return modelAndView;
    }

    /**
     * 跳转到提现银行卡页面
     *
     * @return 返回页面视图
     */
    @RequestMapping("bankCodeMap")
    public ModelAndView goToBankCodeMap() {
        ModelAndView modelAndView = new ModelAndView("memberManage/bankCodeMap");
        return modelAndView;
    }

    /**
     * 跳转到非工作日维护
     *
     * @return
     */
    @RequestMapping("nonworkdays")
    public ModelAndView goToNonworkdays() {
        ModelAndView modelAndView = new ModelAndView("finance/nonworkdays");
        return modelAndView;
    }

    /**
     * 跳转到支付宝配置
     *
     * @return
     */
    @RequestMapping("alipayConfig")
    public ModelAndView goToAlipayConfig() {
        ModelAndView modelAndView = new ModelAndView("finance/alipayConfig");
        return modelAndView;
    }

    /**
     * 跳转到代付配置
     *
     * @return
     */
    @RequestMapping("otherpayConfig")
    public ModelAndView goToOtherpayConfig() {
        ModelAndView modelAndView = new ModelAndView("finance/otherpayConfig");
        return modelAndView;
    }

    /**
     * 跳转到会员支付宝
     *
     * @return
     */
    @RequestMapping("supAlipay")
    public ModelAndView goToSupAlipay() {
        ModelAndView modelAndView = new ModelAndView("finance/supAlipay");
        return modelAndView;
    }

    /**
     * 跳转到权益产品
     *
     * @return
     */
    @RequestMapping("cardproduct")
    public ModelAndView goToCardProduct() {
        ModelAndView modelAndView = new ModelAndView("equity/cardproduct");
        return modelAndView;
    }

    /**
     * 跳转到权益产品
     *
     * @return
     */
    @RequestMapping("cardOperator")
    public ModelAndView goToCardOperator() {
        ModelAndView modelAndView = new ModelAndView("equity/cardOperator");
        return modelAndView;
    }

    /**
     * 跳转到权益卡类型列表
     *
     * @return 视图
     */
    @RequestMapping("cardType")
    public ModelAndView goToCardType() {
        return new ModelAndView("equity/cardType");
    }

    /**
     * 跳转到权益密价配置
     *
     * @return
     */
    @RequestMapping("setCardPrice")
    public ModelAndView goToSetCardPrice() {
        ModelAndView modelAndView = new ModelAndView("equity/setCardPrice");
        return modelAndView;
    }

    /**
     * 跳转到权益密价配置
     *
     * @return
     */
    @RequestMapping("creditModifyRecord")
    public ModelAndView goToCreditModifyRecord() {
        ModelAndView modelAndView = new ModelAndView("memberManage/creditModifyRecord");
        return modelAndView;
    }

    /**
     * 跳转到Q币订单
     *
     * @return
     */
    @RequestMapping("qbOrder")
    public ModelAndView goToQbOrder() {
        ModelAndView modelAndView = new ModelAndView("qb/qbOrder");
        return modelAndView;
    }

    /**
     * 跳转到Q币产品
     *
     * @return
     */
    @RequestMapping("qbProduct")
    public ModelAndView goToProduct() {
        ModelAndView modelAndView = new ModelAndView("qb/qbProduct");
        return modelAndView;
    }

    /**
     * 跳转到Q币寄售列表
     *
     * @return
     */
    @RequestMapping("qbBalance")
    public ModelAndView goToBalance() {
        ModelAndView modelAndView = new ModelAndView("qb/qbBalance");
        return modelAndView;
    }

    /**
     * 跳转到Q币寄售列表
     *
     * @return
     */
    @RequestMapping("qbBalanceMonitor")
    public ModelAndView goToBalanceMonitor() {
        ModelAndView modelAndView = new ModelAndView("qb/qbBalanceMonitor");
        return modelAndView;
    }

    /**
     * 跳转到Q币软件上传
     *
     * @return
     */
    @RequestMapping("qbSoftUpload")
    public ModelAndView goToQbSoftUpload() {
        ModelAndView modelAndView = new ModelAndView("qb/qbSoftUpload");
        return modelAndView;
    }

    /**
     * 跳转到闲鱼失败原因列表
     *
     * @return
     */
    @RequestMapping("xianyuFailReason")
    public ModelAndView goToXianyuFailReason() {
        ModelAndView modelAndView = new ModelAndView("xianyu/xianyuFailReason");
        return modelAndView;
    }

    /**
     * 跳转到闲鱼订单
     *
     * @return
     */
    @RequestMapping("xianyuOrder")
    public ModelAndView goToXianyuOrder() {
        ModelAndView modelAndView = new ModelAndView("xianyu/xianyuOrder");
        return modelAndView;
    }

    /**
     * 支付宝小程序页面
     *
     * @return
     */
    @RequestMapping("aliProgramOrder")
    public ModelAndView goToaliProgramOrder() {
        ModelAndView modelAndView = new ModelAndView("alipay/aliProgramOrder");
        return modelAndView;
    }

    /**
     * 跳转到闲鱼黑名单
     *
     * @return
     */
    @RequestMapping("xianyuBlackList")
    public ModelAndView goToXianyuBlackList() {
        ModelAndView modelAndView = new ModelAndView("xianyu/xianyuBlackList");
        return modelAndView;
    }

    /**
     * 支付宝小程序用户页面
     *
     * @return
     */
    @RequestMapping("aliProgramUser")
    public ModelAndView goToaliProgramUser() {
        ModelAndView modelAndView = new ModelAndView("alipay/aliProgramUser");
        return modelAndView;
    }

    /**
     * 支付宝小程序闲鱼产品页面
     *
     * @return
     */
    @RequestMapping("aliProgramXianyuProduct")
    public ModelAndView goToaliProgramXianyuProduct() {
        ModelAndView modelAndView = new ModelAndView("alipay/aliProgramXianyuProduct");
        return modelAndView;
    }

    /**
     * 跳转到闲鱼财务转账
     *
     * @return
     */
    @RequestMapping("xianYuTransfer")
    public ModelAndView goToxianYuTransfer() {
        ModelAndView modelAndView = new ModelAndView("finance/xianYuTransfer");
        return modelAndView;
    }

    /**
     * 闲鱼订单明细记录
     *
     * @return
     */
    @RequestMapping("xianyuOrderDetail")
    public ModelAndView goToXianyuOrderDetail() {
        ModelAndView modelAndView = new ModelAndView("xianyu/xianyuOrderDetail");
        return modelAndView;
    }

    /**
     * 闲鱼收卡记录列表
     *
     * @return
     */
    @RequestMapping("orderRecord")
    public ModelAndView goToxianyuOrderRecord() {
        ModelAndView modelAndView = new ModelAndView("xianyu/orderRecord");
        return modelAndView;
    }

    /**
     * 跳转到闲鱼日报表
     *
     * @return
     */
    @RequestMapping("xianyuDailySheet")
    public ModelAndView goToXianyuDailySheet() {
        ModelAndView modelAndView = new ModelAndView("finance/xianyuDailySheet");
        return modelAndView;
    }

    /**
     * 会员系统首页banner设置
     *
     * @return
     */
    @RequestMapping("bannerList")
    public ModelAndView goTobannerList() {
        ModelAndView modelAndView = new ModelAndView("system/bannerList");
        return modelAndView;
    }

    /**
     * 闲鱼卡券示例图片设置
     *
     * @return
     */
    @RequestMapping("samplePicturesList")
    public ModelAndView goToSamplePicturesList() {
        ModelAndView modelAndView = new ModelAndView("xianyu/samplePicturesList");
        return modelAndView;
    }

    /**
     * 按钮权限绑定
     *
     * @return
     */
    @RequestMapping("buttonBind")
    public ModelAndView goTobuttonBind() {
        ModelAndView modelAndView = new ModelAndView("admin/buttonBind");
        return modelAndView;
    }

    /**
     * 小程序日报表
     *
     * @return
     */
    @RequestMapping("aliProgramDailySheet")
    public ModelAndView goToAliProgramDailySheet() {
        ModelAndView modelAndView = new ModelAndView("finance/aliProgramDailySheet");
        return modelAndView;
    }

    /**
     * 小程序转账列表
     *
     * @return
     */
    @RequestMapping("aliProgramTransfer")
    public ModelAndView goToAliProgramTransfer() {
        ModelAndView modelAndView = new ModelAndView("finance/aliProgramTransfer");
        return modelAndView;
    }

    /**
     * 小程序订单统计
     *
     * @return
     */
    @RequestMapping("aliProgramReport")
    public ModelAndView goToaliProgramReport() {
        ModelAndView modelAndView = new ModelAndView("report/aliProgramReport");
        return modelAndView;
    }
}
